package com.spleeb.pixelengine;

public class Letters {
	public final static int[] A = new int[]{
		0,0,1,0,0,
		0,1,0,1,0,
		1,1,1,1,1,
		1,0,0,0,1,
		1,0,0,0,1
	};
	public final static int[] B = new int[]{
		1,1,1,1,0,
		1,0,0,0,1,
		1,0,0,1,0,
		1,0,0,0,1,
		1,1,1,1,0
	};
	public final static int[] C = new int[]{
		0,0,1,1,1,
		0,1,0,0,0,
		1,0,0,0,0,
		0,1,0,0,0,
		0,0,1,1,1
	};
	public final static int[] D = new int[]{
		1,1,1,1,0,
		1,0,0,0,1,
		1,0,0,0,1,
		1,0,0,0,1,
		1,1,1,1,0
	};
	public final static int[] E = new int[]{
		1,1,1,1,1,
		1,0,0,0,0,
		1,1,1,0,0,
		1,0,0,0,0,
		1,1,1,1,1
	};
	public final static int[] F = new int[]{
		1,1,1,1,1,
		1,0,0,0,0,
		1,1,1,0,0,
		1,0,0,0,0,
		1,0,0,0,0
	};
	public final static int[] G = new int[]{
		1,1,1,1,1,
		1,0,0,0,0,
		1,0,1,1,1,
		1,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] H = new int[]{
		1,0,0,0,1,
		1,0,0,0,1,
		1,1,1,1,1,
		1,0,0,0,1,
		1,0,0,0,1
	};
	public final static int[] I = new int[]{
		1,1,1,1,1,
		0,0,1,0,0,
		0,0,1,0,0,
		0,0,1,0,0,
		1,1,1,1,1
	};
	public final static int[] J = new int[]{
		1,1,1,1,1,
		0,0,1,0,0,
		0,0,1,0,0,
		1,0,1,0,0,
		0,1,0,0,0
	};
	public final static int[] K = new int[]{
		1,0,0,1,0,
		1,0,1,0,0,
		1,1,0,0,0,
		1,0,1,0,0,
		1,0,0,1,0
	};
	public final static int[] L = new int[]{
		1,0,0,0,0,
		1,0,0,0,0,
		1,0,0,0,0,
		1,0,0,0,0,
		1,1,1,1,1
	};
	public final static int[] M = new int[]{
		1,0,0,0,1,
		1,1,0,1,1,
		1,0,1,0,1,
		1,0,0,0,1,
		1,0,0,0,1
	};
	public final static int[] N = new int[]{
		1,0,0,0,1,
		1,1,0,0,1,
		1,0,1,0,1,
		1,0,0,1,1,
		1,0,0,0,1
	};
	public final static int[] O = new int[]{
		0,1,1,1,0,
		1,0,0,0,1,
		1,0,0,0,1,
		1,0,0,0,1,
		0,1,1,1,0
	};
	public final static int[] P = new int[]{
		0,1,1,1,0,
		0,1,0,0,1,
		0,1,0,0,1,
		0,1,1,1,0,
		0,1,0,0,0
	};
	public final static int[] Q = new int[]{
		0,1,1,1,0,
		1,0,0,0,1,
		1,0,0,0,1,
		1,0,0,1,0,
		0,1,1,0,1
	};
	public final static int[] R = new int[]{
		1,1,1,1,0,
		1,0,0,1,0,
		1,1,1,1,0,
		1,0,0,0,1,
		1,0,0,0,1
	};
	public final static int[] S = new int[]{
		1,1,1,1,1,
		1,0,0,0,0,
		1,1,1,1,1,
		0,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] T = new int[]{
		1,1,1,1,1,
		0,0,1,0,0,
		0,0,1,0,0,
		0,0,1,0,0,
		0,0,1,0,0
	};
	public final static int[] U = new int[]{
		1,0,0,0,1,
		1,0,0,0,1,
		1,0,0,0,1,
		1,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] V = new int[]{
		1,0,0,0,1,
		1,1,0,1,0,
		0,1,0,1,0,
		0,1,1,0,0,
		0,0,1,0,0
	};
	public final static int[] W = new int[]{
		1,0,0,0,1,
		1,0,0,0,1,
		0,1,0,1,0,
		0,1,1,1,0,
		0,1,0,1,0
	};
	public final static int[] X = new int[]{
		1,0,0,0,1,
		0,1,0,1,0,
		0,0,1,0,0,
		0,1,0,1,0,
		1,0,0,0,1
	};
	public final static int[] Y = new int[]{
		1,0,0,0,1,
		0,1,0,1,0,
		0,0,1,0,0,
		0,0,1,0,0,
		0,0,1,0,0
	};
	public final static int[] Z = new int[]{
		1,1,1,1,1,
		0,0,0,1,0,
		0,0,1,0,0,
		0,1,0,0,0,
		1,1,1,1,1
	};
	public final static int[] n0 = new int[]{
		1,1,1,1,1,
		1,0,0,0,1,
		1,0,1,0,1,
		1,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] n1 = new int[]{
		0,1,1,0,0,
		0,0,1,0,0,
		0,0,1,0,0,
		0,0,1,0,0,
		0,1,1,1,0
	};
	public final static int[] n2 = new int[]{
		0,1,1,1,0,
		1,0,0,1,0,
		0,0,1,0,0,
		0,1,0,0,0,
		1,1,1,1,1
	};
	public final static int[] n3 = new int[]{
		1,1,1,1,1,
		0,0,0,0,1,
		0,0,1,1,1,
		0,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] n4 = new int[]{
		0,0,0,1,1,
		0,0,1,0,1,
		0,1,0,0,1,
		1,1,1,1,1,
		0,0,0,0,1
	};
	public final static int[] n5 = new int[]{
		1,1,1,1,1,
		1,0,0,0,0,
		1,1,1,1,1,
		0,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] n6 = new int[]{
		1,1,1,1,1,
		1,0,0,0,0,
		1,1,1,1,1,
		1,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] n7 = new int[]{
		1,1,1,1,1,
		0,0,0,1,0,
		0,0,1,0,0,
		0,1,0,0,0,
		1,0,0,0,0
	};
	public final static int[] n8 = new int[]{
		1,1,1,1,1,
		1,0,0,0,1,
		1,1,1,1,1,
		1,0,0,0,1,
		1,1,1,1,1
	};
	public final static int[] n9 = new int[]{
		1,1,1,1,1,
		1,0,0,0,1,
		1,1,1,1,1,
		0,0,0,0,1,
		0,0,0,0,1
	};
	public final static int[] blank = new int[]{
		0,0,0,0,0,
		0,0,0,0,0,
		0,0,0,0,0,
		0,0,0,0,0,
		0,0,0,0,0
	};
	public final static int[] semi_col = new int[]{
		0,0,1,0,0,
		0,0,1,0,0,
		0,0,0,0,0,
		0,0,1,0,0,
		0,0,1,0,0
	}; 
	public final static int[] getLetter(char c){
		switch(c){
		case 'a':
		case 'A':
			return A;
		case 'b':
		case 'B':
			return B;
		case 'c':
		case 'C':
			return C;
		case 'd':
		case 'D':
			return D;
		case 'e':
		case 'E':
			return E;
		case 'f':
		case 'F':
			return F;
		case 'g':
		case 'G':
			return G;
		case 'h':
		case 'H':
			return H;
		case 'i':
		case 'I':
			return I;
		case 'j':
		case 'J':
			return J;
		case 'k':
		case 'K':
			return K;
		case 'l':
		case 'L':
			return L;
		case 'm':
		case 'M':
			return M;
		case 'n':
		case 'N':
			return N;
		case 'o':
		case 'O':
			return O;
		case 'p':
		case 'P':
			return P;
		case 'q':
		case 'Q':
			return Q;
		case 'r':
		case 'R':
			return R;
		case 's':
		case 'S':
			return S;
		case 't':
		case 'T':
			return T;
		case 'u':
		case 'U':
			return U;
		case 'v':
		case 'V':
			return V;
		case 'w':
		case 'W':
			return W;
		case 'x':
		case 'X':
			return X;
		case 'y':
		case 'Y':
			return Y;
		case 'z':
		case 'Z':
			return Z;
		case '0':
			return n0;
		case '1':
			return n1;
		case '2':
			return n2;
		case '3':
			return n3;
		case '4':
			return n4;
		case '5':
			return n5;
		case '6':
			return n6;
		case '7':
			return n7;
		case '8':
			return n8;
		case '9':
			return n9;
		case ':':
			return semi_col;
		default:
			return blank;
		}
	}
}
